using MedicalReportAssistant.Models;

namespace MedicalReportAssistant.Services
{
    public interface IKnowledgeBaseService
    {
        Task<List<string>> SearchMedicalTermsAsync(string query);
        Task<List<string>> GetMedicalReportTemplatesAsync(string reportType);
        Task<List<CorrectionRule>> GetCorrectionRulesAsync();
        Task AddMedicalTermAsync(string term, string category);
        Task AddCorrectionRuleAsync(CorrectionRule rule);
    }

    public class CorrectionRule
    {
        public string Pattern { get; set; } = string.Empty;
        public string Replacement { get; set; } = string.Empty;
        public string Reason { get; set; } = string.Empty;
        public CorrectionType Type { get; set; }
    }
} 